<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {foreach name="shangjia" item="vo"}
    <div class="baojia_item">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{$vo.name}:</label>
            <div class="col-xs-12 col-sm-8">
                {foreach name="bajia_key" item="item"}
                <div class="baojia_item">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{$item.name}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input class="form-control form-control" name="row[baojia_quyu][{$vo.id}][{$item.id}]" type="number" step="0.01" value="{$baojia[$vo.id][$item.id]}">
                        </div>
                    </div>
                </div>
                {/foreach}
            </div>
        </div>
    </div>
    {/foreach}
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>